package com.atguigu.service.imp;

import com.alibaba.dubbo.config.annotation.Service;
import com.atguigu.dao.TravelItemDao;
import com.atguigu.service.TravelItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * @ClassName : TravelItemServiceImpl
 * @Author : YaoQing
 * @Date: 2021/8/20 0:01
 * @Description : 服务实现类，在meinian_service里面实现
 */
@Transactional
@Service(interfaceClass =TravelItemService.class )
public class TravelItemServiceImpl implements TravelItemService {

    @Autowired//service依赖dao层，dao层是打成jar包与service放在同一个容器中，无需远程调用
    TravelItemDao travelItemDao;
}
